<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Cryptic Cabinet: CrypticCabinet.Player.CrypticCabinetPlayer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="Logo 100x100px.png"/></td>
  <td id="projectalign">
   <div id="projectname">Cryptic Cabinet
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">CrypticCabinet.Player.CrypticCabinetPlayer Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Represents the main player. It controls the way the user can interact with all aspects of the game, the interaction with virtual objects and UI, and the player's identification for other players.  
 <a href="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for CrypticCabinet.Player.CrypticCabinetPlayer:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.png" usemap="#CrypticCabinet.Player.CrypticCabinetPlayer_map" alt=""/>
  <map id="CrypticCabinet.Player.CrypticCabinetPlayer_map" name="CrypticCabinet.Player.CrypticCabinetPlayer_map">
<area href="class_cryptic_cabinet_1_1_player_1_1_network_player_behaviour.html" alt="CrypticCabinet.Player.NetworkPlayerBehaviour&lt; CrypticCabinetPlayer &gt;" shape="rect" coords="0,0,427,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa61d1f7ac3c16706e7a05bef3ab3418c" id="r_aa61d1f7ac3c16706e7a05bef3ab3418c"><td class="memItemLeft" align="right" valign="top">override async void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.html#aa61d1f7ac3c16706e7a05bef3ab3418c">Spawned</a> ()</td></tr>
<tr class="separator:aa61d1f7ac3c16706e7a05bef3ab3418c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_cryptic_cabinet_1_1_player_1_1_network_player_behaviour"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_cryptic_cabinet_1_1_player_1_1_network_player_behaviour')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_cryptic_cabinet_1_1_player_1_1_network_player_behaviour.html">CrypticCabinet.Player.NetworkPlayerBehaviour&lt; CrypticCabinetPlayer &gt;</a></td></tr>
<tr class="memitem:ad181ebda19895a4e300c95462a91b469 inherit pub_methods_class_cryptic_cabinet_1_1_player_1_1_network_player_behaviour" id="r_ad181ebda19895a4e300c95462a91b469"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_player_1_1_network_player_behaviour.html#ad181ebda19895a4e300c95462a91b469">Spawned</a> ()</td></tr>
<tr class="separator:ad181ebda19895a4e300c95462a91b469 inherit pub_methods_class_cryptic_cabinet_1_1_player_1_1_network_player_behaviour"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac328bcb901456d10610417d2ce8547d6 inherit pub_methods_class_cryptic_cabinet_1_1_player_1_1_network_player_behaviour" id="r_ac328bcb901456d10610417d2ce8547d6"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_player_1_1_network_player_behaviour.html#ac328bcb901456d10610417d2ce8547d6">Despawned</a> (NetworkRunner runner, bool hasState)</td></tr>
<tr class="separator:ac328bcb901456d10610417d2ce8547d6 inherit pub_methods_class_cryptic_cabinet_1_1_player_1_1_network_player_behaviour"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ae27ca500e85e906d8856644eb418ea15" id="r_ae27ca500e85e906d8856644eb418ea15"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.html#ae27ca500e85e906d8856644eb418ea15">OnIsMasterClientChanged</a> (Changed&lt; <a class="el" href="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.html">CrypticCabinetPlayer</a> &gt; changed)</td></tr>
<tr class="separator:ae27ca500e85e906d8856644eb418ea15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd8bdcf9a3b80cdcceb076dd45f52cbd" id="r_afd8bdcf9a3b80cdcceb076dd45f52cbd"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.html#afd8bdcf9a3b80cdcceb076dd45f52cbd">OnColocationGroupIdChanged</a> (Changed&lt; <a class="el" href="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.html">CrypticCabinetPlayer</a> &gt; changed)</td></tr>
<tr class="separator:afd8bdcf9a3b80cdcceb076dd45f52cbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c57181656dd9df670b510be4f4e8b57" id="r_a6c57181656dd9df670b510be4f4e8b57"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.html#a6c57181656dd9df670b510be4f4e8b57">OnRemoteChanged</a> (Changed&lt; <a class="el" href="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.html">CrypticCabinetPlayer</a> &gt; changed)</td></tr>
<tr class="separator:a6c57181656dd9df670b510be4f4e8b57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a645c8f190238c8166cc440e948475e90" id="r_a645c8f190238c8166cc440e948475e90"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.html#a645c8f190238c8166cc440e948475e90">OnPlayerNameChanged</a> (Changed&lt; <a class="el" href="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.html">CrypticCabinetPlayer</a> &gt; changed)</td></tr>
<tr class="separator:a645c8f190238c8166cc440e948475e90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_class_cryptic_cabinet_1_1_player_1_1_network_player_behaviour"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_cryptic_cabinet_1_1_player_1_1_network_player_behaviour')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="class_cryptic_cabinet_1_1_player_1_1_network_player_behaviour.html">CrypticCabinet.Player.NetworkPlayerBehaviour&lt; CrypticCabinetPlayer &gt;</a></td></tr>
<tr class="memitem:adae7845e79a2cbb0e6781ad2ca214997 inherit pub_static_methods_class_cryptic_cabinet_1_1_player_1_1_network_player_behaviour" id="r_adae7845e79a2cbb0e6781ad2ca214997"><td class="memItemLeft" align="right" valign="top">static T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_player_1_1_network_player_behaviour.html#adae7845e79a2cbb0e6781ad2ca214997">Get</a> (PlayerRef player)</td></tr>
<tr class="separator:adae7845e79a2cbb0e6781ad2ca214997 inherit pub_static_methods_class_cryptic_cabinet_1_1_player_1_1_network_player_behaviour"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a1d0bd45293ea208339eb690864e79f68" id="r_a1d0bd45293ea208339eb690864e79f68"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.html#a1d0bd45293ea208339eb690864e79f68">Awake</a> ()</td></tr>
<tr class="separator:a1d0bd45293ea208339eb690864e79f68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54d0c0fae3d85134236406f87ae0fff0" id="r_a54d0c0fae3d85134236406f87ae0fff0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.html#a54d0c0fae3d85134236406f87ae0fff0">OnDestroy</a> ()</td></tr>
<tr class="separator:a54d0c0fae3d85134236406f87ae0fff0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents the main player. It controls the way the user can interact with all aspects of the game, the interaction with virtual objects and UI, and the player's identification for other players. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a1d0bd45293ea208339eb690864e79f68" name="a1d0bd45293ea208339eb690864e79f68"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d0bd45293ea208339eb690864e79f68">&#9670;&#160;</a></span>Awake()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CrypticCabinet.Player.CrypticCabinetPlayer.Awake </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="afd8bdcf9a3b80cdcceb076dd45f52cbd" name="afd8bdcf9a3b80cdcceb076dd45f52cbd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd8bdcf9a3b80cdcceb076dd45f52cbd">&#9670;&#160;</a></span>OnColocationGroupIdChanged()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void CrypticCabinet.Player.CrypticCabinetPlayer.OnColocationGroupIdChanged </td>
          <td>(</td>
          <td class="paramtype">Changed&lt; <a class="el" href="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.html">CrypticCabinetPlayer</a> &gt;&#160;</td>
          <td class="paramname"><em>changed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a54d0c0fae3d85134236406f87ae0fff0" name="a54d0c0fae3d85134236406f87ae0fff0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54d0c0fae3d85134236406f87ae0fff0">&#9670;&#160;</a></span>OnDestroy()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CrypticCabinet.Player.CrypticCabinetPlayer.OnDestroy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="class_cryptic_cabinet_1_1_photon_1_1_photon_connector.html#aa3c7e353cadf24f7d2f7a9773e7c9c05">CrypticCabinet.Photon.PhotonConnector.OnHostMigrationOccured</a>.</p>

</div>
</div>
<a id="ae27ca500e85e906d8856644eb418ea15" name="ae27ca500e85e906d8856644eb418ea15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae27ca500e85e906d8856644eb418ea15">&#9670;&#160;</a></span>OnIsMasterClientChanged()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void CrypticCabinet.Player.CrypticCabinetPlayer.OnIsMasterClientChanged </td>
          <td>(</td>
          <td class="paramtype">Changed&lt; <a class="el" href="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.html">CrypticCabinetPlayer</a> &gt;&#160;</td>
          <td class="paramname"><em>changed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a645c8f190238c8166cc440e948475e90" name="a645c8f190238c8166cc440e948475e90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a645c8f190238c8166cc440e948475e90">&#9670;&#160;</a></span>OnPlayerNameChanged()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void CrypticCabinet.Player.CrypticCabinetPlayer.OnPlayerNameChanged </td>
          <td>(</td>
          <td class="paramtype">Changed&lt; <a class="el" href="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.html">CrypticCabinetPlayer</a> &gt;&#160;</td>
          <td class="paramname"><em>changed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a6c57181656dd9df670b510be4f4e8b57" name="a6c57181656dd9df670b510be4f4e8b57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c57181656dd9df670b510be4f4e8b57">&#9670;&#160;</a></span>OnRemoteChanged()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void CrypticCabinet.Player.CrypticCabinetPlayer.OnRemoteChanged </td>
          <td>(</td>
          <td class="paramtype">Changed&lt; <a class="el" href="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.html">CrypticCabinetPlayer</a> &gt;&#160;</td>
          <td class="paramname"><em>changed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aa61d1f7ac3c16706e7a05bef3ab3418c" name="aa61d1f7ac3c16706e7a05bef3ab3418c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa61d1f7ac3c16706e7a05bef3ab3418c">&#9670;&#160;</a></span>Spawned()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">override async void CrypticCabinet.Player.CrypticCabinetPlayer.Spawned </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="class_cryptic_cabinet_1_1_utils_1_1_network_singleton.html#a23e1727f9b620c01639c0d63f9d0e5f8">CrypticCabinet.Utils.NetworkSingleton&lt; T &gt;.Instance</a>, and <a class="el" href="class_cryptic_cabinet_1_1_photon_1_1_photon_connector.html#aa28eb3247fd924a62bedab21c5eb15a5">CrypticCabinet.Photon.PhotonConnector.IsMultiplayerSession</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_cryptic_cabinet_player_8cs.html">CrypticCabinetPlayer.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_cryptic_cabinet.html">CrypticCabinet</a></li><li class="navelem"><a class="el" href="namespace_cryptic_cabinet_1_1_player.html">Player</a></li><li class="navelem"><a class="el" href="class_cryptic_cabinet_1_1_player_1_1_cryptic_cabinet_player.html">CrypticCabinetPlayer</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
  </ul>
</div>
</body>
</html>
